package cn.tedu.tmall.admin.mall.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.List;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class CategoryTreeVO {

    @ApiModelProperty("类别id")
    Long id;

    @ApiModelProperty("类别名称")
    String name;

    @ApiModelProperty("子类别")
    List<CategoryTreeVO> children;

}
